<% form_for @premiacion_escala, :html => {:class => "tabular"},  :builder => UniformBuilder do |f| %>
  <%= f.error_messages %>
  <div class="box">
    <%= f.text_field :nombre %>
  </div>
  <div class="box">
    <table class="table">
      <tr class="puntuaciones">
        <th>Nombre</th>
        <th>Desde</th>
        <th>Hasta</th>
        <th><%= button_to_add_fields "Agregar", f, :puntuaciones%></th>
      </tr>
      <% f.fields_for :puntuaciones do |builder|%>
        <%= render 'puntuacion', :f => builder  %>
      <% end %>
    </table>
  </div>
  <%= f.submit "Guardar" %>
<% end %>
